package com.sywb.chuangyebao.contract;

public interface QAndAContract {

    interface View extends BaseQuestionContract.BaseQuestionView {

        int getCategoryId();
    }

    class Presenter extends BaseQuestionContract.Presenter<View> {

        @Override
        public void onStart() {
            super.onStart();
            category = mView.getCategoryId();
            topic_id = 0;
            initData();
        }

        @Override
        public void initData() {
            super.initData();
            pageNo = 1;
            listQuestions();
        }
    }
}

